package com.xiaoyu.user;

import com.xiaoyu.common.conf.JsonUtil;

import java.util.Map;

/**
 * Comments：
 * Author：yuxin
 * Create Date：2017-04-08
 * Modified By：就是你
 * Modified Date：
 * Why & What is modified：
 * Version：v1.0
 */
/*得到methods*/
public class test {
    public static void main(String[] args) {{
        String str = "{  }";
        Map map1 = JsonUtil.toObject(str, Map.class);
        for (Object keys : map1.keySet()){
            String shengxia=keys.toString().substring(keys.toString().indexOf(","));
            String methods=shengxia.substring(shengxia.indexOf("[")+1,shengxia.indexOf("]"));
            System.out.println(methods);
        }

    }

    }

}
